package com.ruoyi.lnb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 orders
 * 
 * @author lnb
 * @date 2022-04-05
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发布者账号 */
    @Excel(name = "发布者账号")
    private String username;

    /** 服务者账号 */
    @Excel(name = "服务者账号")
    private String wusername;

    /** 订单种类 */
    @Excel(name = "订单种类")
    private String otype;

    /** 订单期限 */
    @Excel(name = "订单期限")
    private String oduration;

    /** 订单得分 */
    @Excel(name = "订单得分")
    private Long oscore;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String ostate;

    /** 订单价格 */
    @Excel(name = "订单价格")
    private Long oprice;

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setWusername(String wusername) 
    {
        this.wusername = wusername;
    }

    public String getWusername() 
    {
        return wusername;
    }
    public void setOtype(String otype) 
    {
        this.otype = otype;
    }

    public String getOtype() 
    {
        return otype;
    }
    public void setOduration(String oduration) 
    {
        this.oduration = oduration;
    }

    public String getOduration() 
    {
        return oduration;
    }
    public void setOscore(Long oscore) 
    {
        this.oscore = oscore;
    }

    public Long getOscore() 
    {
        return oscore;
    }
    public void setOstate(String ostate) 
    {
        this.ostate = ostate;
    }

    public String getOstate() 
    {
        return ostate;
    }
    public void setOprice(Long oprice) 
    {
        this.oprice = oprice;
    }

    public Long getOprice() 
    {
        return oprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("username", getUsername())
            .append("wusername", getWusername())
            .append("otype", getOtype())
            .append("oduration", getOduration())
            .append("oscore", getOscore())
            .append("ostate", getOstate())
            .append("oprice", getOprice())
            .toString();
    }
}
